package com.scuec.groupfive.service.impl;

import com.scuec.groupfive.mapper.KnowledgeStatisticsMapper;
import com.scuec.groupfive.service.KnowledgeStatisticsService;
import com.scuec.groupfive.vo.KnowledgeStatisticsVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 知识点掌握情况统计Service实现
 */
@Service
public class KnowledgeStatisticsServiceImpl implements KnowledgeStatisticsService {

    @Autowired
    private KnowledgeStatisticsMapper knowledgeStatisticsMapper;

    @Override
    public List<KnowledgeStatisticsVO> getKnowledgeStatistics(Long userId, Integer subjectId, Integer typeId) {
        return knowledgeStatisticsMapper.getKnowledgeStatistics(userId, subjectId, typeId);
    }
}